:: this script automates qt deployment under windows. it gets called automatically by qmake
:: as a pre-link step. paths are relative to the build directory.
:: created by R. Marson. Last edited May 10 2011.

SET MINGW=e:\MinGW\bin
SET LIB_DIR=.\dependencies\libs
SET DEPLOY_DIR=.\bin
SET EXE_NAME=OpenPool.exe

COPY %EXE_NAME% %DEPLOY_DIR%

COPY %LIB_DIR%\glew32.dll %DEPLOY_DIR%
COPY %LIB_DIR%\FreeImage.dll %DEPLOY_DIR%
COPY %LIB_DIR%\libphysfs.dll %DEPLOY_DIR%
COPY %LIB_DIR%\openal32.dll %DEPLOY_DIR%
COPY %LIB_DIR%\libsndfile-1.dll %DEPLOY_DIR%
COPY %LIB_DIR%\sfml-window.dll %DEPLOY_DIR%
COPY %LIB_DIR%\sfml-audio.dll %DEPLOY_DIR%
COPY %LIB_DIR%\sfml-graphics.dll %DEPLOY_DIR%
COPY %LIB_DIR%\sfml-network.dll %DEPLOY_DIR%
COPY %LIB_DIR%\sfml-system.dll %DEPLOY_DIR%

COPY %MINGW%\mingwm10.dll %DEPLOY_DIR%
COPY %MINGW%\libgcc_s_dw2-1.dll %DEPLOY_DIR%
COPY %MINGW%\"libstdc++-6.dll" %DEPLOY_DIR%